package com.cqie.secondhandtransaction.DTO;

import com.cqie.secondhandtransaction.utils.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class AccessUserDTO {

    private Integer id;

    private String userName;

    private String score;

    private String sellerAvatar;

    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date createTime;

    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date updateTime;

    private String phone;

    private Integer role;

    private String address;

    private Integer soldNum;
}
